package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseDomainExcludeId;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;


/**
 * 
 * 医疗临床路径
 * @author : trouble——maker
 * @Date   : 2016年8月6日 上午10:01:07
 * @version: 1.0
 * 
 */
@Entity
@Table(name=ConstSysParam.MODULE_PATHWAY_BASEINFO)
public class MedicalPathwayBaseinfo extends BaseDomainExcludeId implements BaseDomainInf {

	/*
	 * 主键
	 */
	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="MedicalPathwayBaseinfoGenerator")
	@TableGenerator(name="MedicalPathwayBaseinfoGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_PATHWAY_BASEINFO,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;
	
	@Override
	public Long getId() {
		// TODO Auto-generated method stub
		return this.id;
	}


	@Override
	public void setId(Long id) {
		// TODO Auto-generated method stub
		this.id = id;
	}
	/*
	 * 病室
	 */
	private Long sickroom_id;
	private String sickroom_name;
	
	
	/*
	 * 科室
	 */
	
	private Long apply_deptid;
	@Column(length=50)
	private String apply_deptname;
	
	/*
	 * 临床路径
	 */
	
	private Long path_id;
	private String path_name;
	
	/*
	 * 病种
	 */
	
	private Long disease_id;
	private String disease_name;
	
	/*
	 * 管理员名单
	 */
	
	private Long apply_id;
	private String apply_name;

	public String getSickroom_name() {
		return sickroom_name;
	}


	public void setSickroom_name(String sickroom_name) {
		this.sickroom_name = sickroom_name;
	}


	public Long getSickroom_id() {
		return sickroom_id;
	}


	public void setSickroom_id(Long sickroom_id) {
		this.sickroom_id = sickroom_id;
	}


	public Long getApply_deptid() {
		return apply_deptid;
	}


	public void setApply_deptid(Long apply_deptid) {
		this.apply_deptid = apply_deptid;
	}


	public String getApply_deptname() {
		return apply_deptname;
	}


	public void setApply_deptname(String apply_deptname) {
		this.apply_deptname = apply_deptname;
	}


	public Long getPath_id() {
		return path_id;
	}


	public void setPath_id(Long path_id) {
		this.path_id = path_id;
	}


	public String getPath_name() {
		return path_name;
	}


	public void setPath_name(String path_name) {
		this.path_name = path_name;
	}


	public Long getDisease_id() {
		return disease_id;
	}


	public void setDisease_id(Long disease_id) {
		this.disease_id = disease_id;
	}


	public String getDisease_name() {
		return disease_name;
	}


	public void setDisease_name(String disease_name) {
		this.disease_name = disease_name;
	}


	public Long getApply_id() {
		return apply_id;
	}


	public void setApply_id(Long apply_id) {
		this.apply_id = apply_id;
	}


	public String getApply_name() {
		return apply_name;
	}


	public void setApply_name(String apply_name) {
		this.apply_name = apply_name;
	}
		
	
}
